namespace Terra.Service.Common.Models;

/// <summary>
/// 分页结果DTO
/// </summary>
public class PagedResultDto<T>
{
    /// <summary>
    /// 总记录数
    /// </summary>
    public int Total { get; set; }

    /// <summary>
    /// 当前页数据
    /// </summary>
    public List<T> Items { get; set; }

    /// <summary>
    /// 构造函数
    /// </summary>
    public PagedResultDto()
    {
        Items = new List<T>();
    }
}